package com.pig4cloud.pig.demo.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.demo.feign.Entity.Order;
import com.pig4cloud.pig.demo.feign.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * Created by caoxuel on 2020/10/19 17:32
 * @author caoxuel
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    /**
     * 分页查询订单
     * @param page
     * @return
     */
    public IPage<OrderVO> queryOrderList(Page<?> page, @Param("id") Long id);
}
